package com.csun.cmny.provider.model.dto;

import com.csun.cmny.base.constant.WebSocketConstant;
import lombok.Data;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-10-11 10:08
 * @Description: the class send web socket request
 */
@Data
public class SendWebSocketRequest {

    /**
     * 用户Id集合
     */
    private List<Long> userIdList;

    /**
     * 角色编码集合
     */
    private List<String> roleCodeList;

    /**
     * 机构Id
     */
    private Long groupId;

    /**
     * 待发送的消息
     */
    private String message;

    /**
     * 消息类型
     */
    private String msgType = WebSocketConstant.WEBSOCKET_DEFAULT;

    /**
     * 编号
     */
    private String refNo;

}
